package com.example.demo.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @program:IntelliJ IDEA
 * @Description:员工类
 * @author:Mr.CheCheHuiBujianO
 * @data: 2023/3/9 19:18
 */
public class Staff {
    private String staffName; //职工姓名
    private String staffPerference;//职工偏好
    public Gene gene;//用于记录该员工基因

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getStaffPerference() {
        return staffPerference;
    }

    public void setStaffPerference(String staffPerference) {
        this.staffPerference = staffPerference;
    }


    private List<ArrayList<Integer>> staffPerferenceDecode; //用于解码staffPerference


    public Staff(String staffName, String staffPerference) {


        this.staffName = staffName;
        this.staffPerference = staffPerference;
        this.gene = new Gene();


    }

}
